/*
 * 
 * Libman
 * 
 * Daniel Kaufmann, Martin Lang, Simon Moosbrugger,
 * Stefan Mayer, Stephan Halbeisen
 * 
 */
package model;

import java.util.Set;

/**
 * The Class Department.
 */
public class Department implements java.io.Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	/** The id. */
	private Integer id;
	
	/** The description. */
	private String description;
	
	/** The prefix. */
	private String prefix;
	
	/** The counter. */
	private Integer counter;
	
	/** The mediums. */
	private Set<Medium> mediums;

	/**
	 * Instantiates a new department.
	 */
	public Department() {
	}

	/**
	 * Instantiates a new department.
	 * 
	 * @param description
	 *            the description
	 */
	public Department(String description) {
		this.description = description;
	}

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * Sets the id.
	 * 
	 * @param id
	 *            the new id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * Gets the description.
	 * 
	 * @return the description
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * Sets the description.
	 * 
	 * @param description
	 *            the new description
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * Gets the prefix.
	 * 
	 * @return the prefix
	 */
	public String getPrefix() {
		return prefix;
	}

	/**
	 * Sets the prefix.
	 * 
	 * @param prefix
	 *            the new prefix
	 */
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	/**
	 * Gets the counter.
	 * 
	 * @return the counter
	 */
	public Integer getCounter() {
		return counter;
	}

	/**
	 * Sets the counter.
	 * 
	 * @param counter
	 *            the new counter
	 */
	public void setCounter(Integer counter) {
		this.counter = counter;
	}

	/**
	 * Sets the mediums.
	 * 
	 * @param mediums
	 *            the new mediums
	 */
	public void setMediums(Set<Medium> mediums) {
		this.mediums = mediums;
	}

	/**
	 * Gets the mediums.
	 * 
	 * @return the mediums
	 */
	public Set<Medium> getMediums() {
		return mediums;
	}

}
